package cn.pkubangbang.demo.democontact.exceptions;

/**
 * thrown when the result to return is null.
 * This exception will be converted to 404 at {@link cn.pkubangbang.demo.democontact.controller.ExceptionHandlerControllerAdvice}
 * @Author: zhangzhenbang@k2data.com.cn
 * @Date: 2018-09-10 16:28
 */
public class ResultNotFoundException extends RuntimeException {

    public ResultNotFoundException() {
    }

    public ResultNotFoundException(String message) {
        super(message);
    }

    public ResultNotFoundException(String message, Throwable cause) {
        super(message, cause);
    }

    public ResultNotFoundException(Throwable cause) {
        super(cause);
    }

    public ResultNotFoundException(String message, Throwable cause, boolean enableSuppression,
        boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
